import React from 'react';
import { Outlet } from 'react-router-dom';
import { Provider } from 'react-redux';
import configureStore from './store';
// redux + react-redux + redux-thunk的方式
export default function Layout() {
    return (
        <Provider store={configureStore()}>
            <Outlet />
        </Provider>
    );
}
